/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jogodecartas.core;

import java.util.Stack;

/**
 *
 * @author Diego
 */
public class Fundacoes extends PilhaDeCartas {

    protected static final int numeroDeFundacoes = 4;
    Stack fundacao[] = new Stack[13];

    public Fundacoes() {
    }

    public void inicializarFundacoes() {

        for (int i = 0; i < numeroDeFundacoes; i++) {
            fundacao[i] = new Stack();
        }

    }

    public Stack getFundacao(int index) {
        return fundacao[index];
    }

    public void setFundacao(Stack fundacao, int index) {
        this.fundacao[index] = fundacao;
    }

}
